<template>
  <div id="app">
    <el-container>
      <el-header class="header">
        <navHeader></navHeader>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <navMenu></navMenu>
        </el-aside>
        <el-main>
          <navMain></navMain>
          <keep-alive>
            <router-view/>
          </keep-alive>
        </el-main>
      </el-container>
    </el-container>

  </div>
</template>

<script>

import navMenu from '@/components/navMenu/navMenu'
import navHeader from '@/components/header/header'
import navMain from '@/components/navMain/navMain'

export default {
  name: 'App',
  components: {
    navMenu,
    navHeader,
    navMain
  }
}
</script>

<style>
/* 解决tab栏的bug */
  .el-menu-item-group__title{
    display: none!important;
  }

  .header{
    background: rgb(84, 92, 100);
    line-height: 60px;
  }
  .el-main{
  padding: 5px !important;
}
.el-header{
  height: 40px !important;
  line-height: 40px !important;
}
</style>
